﻿using System;
using System.Collections.Generic;
using System.Text;
using NLog;
namespace com.crawler.common
{
    public class LogHelper
    {
        /// <summary>
        /// 日志对象
        /// </summary>
        static Logger m_log = LogManager.GetLogger("sys_log");

        /// <summary>
        /// 错误日志
        /// </summary>
        /// <param name="i_text"></param>
        public static void Error(string i_text)
        {
            m_log.Error(i_text);
        }

        public static void Info(string i_text)
        {
            m_log.Info(i_text);
        }

        public static void Debug(string i_text)
        {
            m_log.Debug(i_text);
        }
    }
}
